#include "includes/need-a-name.hh"
#include "includes/equation-base.hh"

EquationBase::EquationBase(){
  // for(int tmpi=0; tmpi<memory::equparanum; tmpi++)
  //   para.insert(std::pair<std::string,double>("Empty",0.0));    
}

EquationBase::~EquationBase(){
}

void EquationBase::transmit_equ_parameter(){
  memory::phynumber = phynumber;
  for(int index=0; index<memory::phynumber; index++)
    memory::variablename.push_back(physical_variable_name[index]);
}

void EquationBase::append_parameter(std::string parakey,double paravalue){
    para.insert(std::pair<std::string,double>(parakey,paravalue));
}

void EquationBase::set_parameter(std::string parakey,double paravalue){
    para[parakey]=paravalue;
}
